home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeveloperStax.cpt / Developer Stack 1.0 / background_2202.txt < prev    next >
Text File  |  1989-02-26  |  6KB  |  280 lines

  1. -- background: 2202 from stack: in.0
  2. -- bmap block id: 12879
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Functions
  6. ----- HyperTalk script -----
  7. on opencard
  8.   put (the number of this card - the number of first card of this background+1) into field "PageNumber"
  9. end opencard
  10.  
  11.  
  12.  
  13. -- part 2 (field)
  14. -- low flags: 00
  15. -- high flags: 0007
  16. -- rect: left=56 top=69 right=299 bottom=491
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 0 / 0
  19. -- text alignment: 0
  20. -- font id: 3
  21. -- text size: 9
  22. -- style flags: 0
  23. -- line height: 12
  24. -- part name: 
  25.  
  26.  
  27. -- part 3 (field)
  28. -- low flags: 01
  29. -- high flags: 0000
  30. -- rect: left=54 top=23 right=57 bottom=337
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 0 / 0
  33. -- text alignment: 0
  34. -- font id: 2
  35. -- text size: 24
  36. -- style flags: 0
  37. -- line height: 32
  38. -- part name: Name
  39.  
  40.  
  41. -- part 6 (button)
  42. -- low flags: 00
  43. -- high flags: 2000
  44. -- rect: left=456 top=301 right=329 bottom=493
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 11645 / 11645
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: Return
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   if the optionkey is down then
  56.     pass mouseup
  57.   end if
  58.  
  59.   visual effect iris close
  60.   go first card
  61. end mouseUp
  62.  
  63.  
  64.  
  65. -- part 8 (button)
  66. -- low flags: 00
  67. -- high flags: 2000
  68. -- rect: left=280 top=306 right=331 bottom=307
  69. -- title width / last selected line: 0
  70. -- icon id / first selected line: 1013 / 1013
  71. -- text alignment: 1
  72. -- font id: 0
  73. -- text size: 12
  74. -- style flags: 0
  75. -- line height: 16
  76. -- part name: Next
  77. ----- HyperTalk script -----
  78. on mouseUp
  79.   if the optionkey is down then
  80.     pass mouseup
  81.   end if
  82.  
  83.   visual effect wipe left
  84.   go to next card
  85. end mouseUp
  86.  
  87.  
  88.  
  89. -- part 9 (button)
  90. -- low flags: 00
  91. -- high flags: 2000
  92. -- rect: left=228 top=306 right=331 bottom=255
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 1014 / 1014
  95. -- text alignment: 1
  96. -- font id: 0
  97. -- text size: 12
  98. -- style flags: 0
  99. -- line height: 16
  100. -- part name: Prev
  101. ----- HyperTalk script -----
  102. on mouseUp
  103.   if the optionkey is down then
  104.     pass mouseup
  105.   end if
  106.  
  107.   visual effect wipe right
  108.   go to previous card
  109. end mouseUp
  110.  
  111.  
  112.  
  113. -- part 10 (field)
  114. -- low flags: 01
  115. -- high flags: 0000
  116. -- rect: left=255 top=311 right=327 bottom=282
  117. -- title width / last selected line: 0
  118. -- icon id / first selected line: 0 / 0
  119. -- text alignment: 1
  120. -- font id: 3
  121. -- text size: 12
  122. -- style flags: 0
  123. -- line height: 16
  124. -- part name: PageNumber
  125.  
  126.  
  127. -- part 11 (button)
  128. -- low flags: 00
  129. -- high flags: 2004
  130. -- rect: left=2 top=74 right=117 bottom=49
  131. -- title width / last selected line: 0
  132. -- icon id / first selected line: 14767 / 14767
  133. -- text alignment: 1
  134. -- font id: 0
  135. -- text size: 12
  136. -- style flags: 0
  137. -- line height: 16
  138. -- part name: About...
  139. ----- HyperTalk script -----
  140. on mouseUp
  141.   if the optionkey is down then
  142.     pass mouseup
  143.   end if
  144.  
  145.   visual iris open to gray
  146.   visual iris close to black
  147.   visual iris open to gray
  148.   visual iris close
  149.   go background information
  150. end mouseUp
  151.  
  152.  
  153.  
  154. -- part 12 (button)
  155. -- low flags: 00
  156. -- high flags: 2004
  157. -- rect: left=2 top=119 right=162 bottom=49
  158. -- title width / last selected line: 0
  159. -- icon id / first selected line: 29114 / 29114
  160. -- text alignment: 1
  161. -- font id: 0
  162. -- text size: 12
  163. -- style flags: 0
  164. -- line height: 16
  165. -- part name: Back
  166. ----- HyperTalk script -----
  167. on mouseUp
  168.   if the optionkey is down then
  169.     pass mouseup
  170.   end if
  171.  
  172.   visual barn door close to black
  173.   visual barn door open
  174.   go back
  175. end mouseUp
  176.  
  177.  
  178.  
  179. -- part 13 (button)
  180. -- low flags: 00
  181. -- high flags: 2004
  182. -- rect: left=2 top=164 right=207 bottom=49
  183. -- title width / last selected line: 0
  184. -- icon id / first selected line: 1011 / 1011
  185. -- text alignment: 1
  186. -- font id: 0
  187. -- text size: 12
  188. -- style flags: 0
  189. -- line height: 16
  190. -- part name: Home
  191. ----- HyperTalk script -----
  192. on mouseUp
  193.   if the optionkey is down then
  194.     pass mouseup
  195.   end if
  196.  
  197.   go home
  198. end mouseUp
  199.  
  200.  
  201.  
  202. -- part 14 (button)
  203. -- low flags: 00
  204. -- high flags: 2004
  205. -- rect: left=2 top=209 right=252 bottom=49
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 1000 / 1000
  208. -- text alignment: 1
  209. -- font id: 0
  210. -- text size: 12
  211. -- style flags: 0
  212. -- line height: 16
  213. -- part name: Open Stack
  214. ----- HyperTalk script -----
  215. on mouseUp
  216.   if the optionkey is down then
  217.     pass mouseup
  218.   end if
  219.  
  220.   domenu "open stack..."
  221. end mouseUp
  222.  
  223.  
  224.  
  225. -- part 15 (button)
  226. -- low flags: 00
  227. -- high flags: 2004
  228. -- rect: left=2 top=254 right=297 bottom=49
  229. -- title width / last selected line: 0
  230. -- icon id / first selected line: 17343 / 17343
  231. -- text alignment: 1
  232. -- font id: 0
  233. -- text size: 12
  234. -- style flags: 0
  235. -- line height: 16
  236. -- part name: Launch Application
  237. ----- HyperTalk script -----
  238. on mouseUp
  239.   if the optionkey is down then
  240.     pass mouseup
  241.   end if
  242.  
  243.   visual venetian blinds to gray
  244.   visual venetian blinds to black
  245.   visual venetian blinds to gray
  246.   visual venetian blinds
  247.  
  248.   go to background "Mini Hyperstation"
  249. end mouseUp
  250.  
  251.  
  252.  
  253. -- part 16 (button)
  254. -- low flags: 00
  255. -- high flags: 2004
  256. -- rect: left=2 top=299 right=342 bottom=49
  257. -- title width / last selected line: 0
  258. -- icon id / first selected line: 21786 / 21786
  259. -- text alignment: 1
  260. -- font id: 0
  261. -- text size: 12
  262. -- style flags: 0
  263. -- line height: 16
  264. -- part name: Menus On
  265. ----- HyperTalk script -----
  266. on mouseUp
  267.   if the optionkey is down then
  268.     pass mouseup
  269.   end if
  270.  
  271.   If the short name of the target is "Menus On" then
  272.     set the name of the target to "Menus Off"
  273.     show menubar
  274.   else
  275.     set the name of the target to "Menus On"
  276.     hide menubar
  277.   end if
  278. end mouseUp
  279.  
  280.